October 22, 2024
v3 Get Proof Types
Description:
Returns a single or a list of Proof Types for registration documents.
URI:
https://api.multitel.net/v3/get_proof_types
Parameters:
Methods:
POST/GET
Sample Output:
{
"status": {
"code": 200,
"msg": ""
},
"response": [
{
"id": "263bc045cb6f9f30b14e3097369afd70",
"name": "Copy of Phone Bill",
"entity_type": "Address"
},
{
"id": "de36e587b75c1865c19685f0bc2b605a",
"name": "Utility Bill",
"entity_type": "Address"
},
Sample code:
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => '
'https://api.multitel.net/v3/get_proof_types',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Basic YWRtaW46TkxGN0ZQSUNXUV5VQU12lY0Qw==',
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;